package com.ktjy.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjy.crm.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserMapper  extends BaseMapper<User> {
    public int inserts(User user);
    public void delete(Long id);
    public void update(User user);
    public User get(Long id);
    public List<User> findAll();


    public User getUserByUserNameWithRoleName(String userName);
}
